﻿using System;

namespace SBPweb.Communication.Shared.Library.Commands
{

    public interface ICommand
    {

        object GetRequest();

        void PutResponse(object response);

    }

    public interface ICommand<TRequest, TResponse> : ICommand
    {

        TRequest GetTypedRequest();

        void PutTypedResponse(TResponse response);

    }

}